363bea1fe65f5340b3d1db0f245ee9f49bf74e40,tools/ext_tmpl/ext-ejb/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistence.java,ReportsEntryPersistence,remove,#String#,32

Before Change


                    entryId.toString());
            }

            com.ext.portlet.reports.model.ReportsEntry reportsEntry = ReportsEntryHBMUtil.model(reportsEntryHBM);
            session.delete(reportsEntryHBM);
            session.flush();
            ReportsEntryPool.remove(entryId);

            return reportsEntry;
        } catch (HibernateException he) {
            throw new SystemException(he);
        } finally {

After Change


            session.delete(reportsEntryHBM);
            session.flush();

            return ReportsEntryHBMUtil.model(reportsEntryHBM);
        } catch (HibernateException he) {
            throw new SystemException(he);
        } finally {